package models

import (
	"time"
)

type SysUser struct {
	Id         int64  `gorm:"primarykey"`
	Name       string `gorm:"type:varchar(100)"`
	Password   string `gorm:"type:varchar(255)"`
	Salt       string `gorm:"type:varchar(45)"`
	Avatar     string `gorm:"type:varchar(255)"`
	Sex        int
	Phone      string `gorm:"type:varchar(45)"`
	Email      string `gorm:"type:varchar(45)"`
	State      int
	DelFlag    int
	CreateTime time.Time `gorm:"autoCreateTime"`
	CreateBy   string    `gorm:"type:varchar(100)"`
	UpdateTime time.Time `gorm:"autoUpdateTime"`
	UpdateBy   string    `gorm:"type:varchar(100)"`
}
